package com.CmJava.entity.comment;

import java.util.List;

public class CommentRedis {
    // 比如：p2_c1_for_MyWeb
    private String commentKey;
    private List<CommentEntity> comments;

    public CommentRedis() {
    }

    public CommentRedis(String commentKey, List<CommentEntity> comments) {
        this.commentKey = commentKey;
        this.comments = comments;
    }

    public String getCommentKey() {
        return commentKey;
    }

    public void setCommentKey(String commentKey) {
        this.commentKey = commentKey;
    }

    public List<CommentEntity> getComments() {
        return comments;
    }

    public void setComments(List<CommentEntity> comments) {
        this.comments = comments;
    }
}
